package com.top10.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author su
 * @since 2018-10-01
 */
@TableName("tb_coupon_goods")
public class CouponGoods extends Model<CouponGoods> {

    private static final long serialVersionUID = 1L;

	private String shopId;
	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
	private String uuid;
    /**
     * 优惠券UUID
     */
	private String couponId;
    /**
     * 用户ID
     */
	private String goodsId;


	public String getShopId() {
		return shopId;
	}

	public void setShopId(String shopId) {
		this.shopId = shopId;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public String getCouponId() {
		return couponId;
	}

	public void setCouponId(String couponId) {
		this.couponId = couponId;
	}

	public String getGoodsId() {
		return goodsId;
	}

	public void setGoodsId(String goodsId) {
		this.goodsId = goodsId;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "CouponGoods{" +
			", shopId=" + shopId +
			", id=" + id +
			", uuid=" + uuid +
			", couponId=" + couponId +
			", goodsId=" + goodsId +
			"}";
	}
}
